<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="com.fandy.struts.form.*"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
	<html:base />

	<title>Header.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body>
	<table align="left" height="60" width=100%>
		<tr>
			<td rowspan="1">
				<a href="../Home.jsp"><img
						alt='<bean:message key="HomePage.Tittle" />' src="/Goods/Image/Logo.jpg"
						height="55" /> </a>
			</td>
			<td>
				<table align="right">
					<tr>
						<td align="right" rowspan="1">
							<bean:message key="Welcome.Page.Tittle" />
						</td>
						<td align="right" rowspan="1">
							<logic:present name="FormLoginBean">
							<a href="../myInfo.jsp?name="> <%=((FormLogin) session.getAttribute("UserInfo"))
								.getName()%></a>
							</logic:present>
							
							<logic:notPresent name="FormLoginBean">
							游客
							</logic:notPresent>
							
						</td>
						<td align="right" rowspan="1">
							<a href="/Goods/GoodsManagement/ShowGoods.jsp">1<bean:message key="Welcome.Page.Tittle" />
							</a>
						</td>
						<td align="right" rowspan="1">
							<a href="/Goods/Home.jsp"><bean:message key="HomePage.Tittle" /> </a>
						</td>
						<td align="right" rowspan="1">
							<a href="Logout.do"><bean:message key="Welcome.Page.Logout" />
							</a>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<br>
	<br>
	<br />
	<hr />
	<br>
</body>
</html:html>
